package top.aicats.pattern.template.adapter.adapter;

import com.sun.org.apache.bcel.internal.generic.IADD;

public class ChargeForMobileAdapter implements IChargeMobileAdapter{

    @Override
    public int chargeForAmericanMobile() {
        IAdapter adapter = new ChinaAdapter();
        return adapter.Output();
    }

    @Override
    public int chargeForChinaMobile() {
        IAdapter adapter = new AmericalAdapter();
        return adapter.Output();
    }
}
